﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Pay.Data {
	public partial class TransferBatchMap
		: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<TransferBatch> {
		public TransferBatchMap() {
			// table
			ToTable("mc_TransferBatch", "dbo");

			// keys
			HasKey(t => t.Id);

			// Properties
			Property(t => t.Id)
				.HasColumnName("Id")
				.HasDatabaseGeneratedOption(DatabaseGeneratedOption.Identity)
				.IsRequired();

			// Relationships
		}
	}
}